Learn R Programming

adegenet (version 1.2-7)

Auxiliary functions: Utilities functions for adegenet

Description

These functions are mostly used internally in adegenet. The notable exceptions are adegenetWeb which opens the adegenet website in the default navigator, and adegenetTutorial which opens online tutorials for adegenet. The other functions are: - checkType: checks the type of markers being used in a function and issues an error if appropriate. - .rmspaces: remove peripheric spaces in a character string. - .genlab: generate labels in a correct alphanumeric ordering. - .readExt: read the extension of a given file.

Usage

adegenetWeb()
adegenetTutorial(which=c("general","spca"))
.genlab(base, n)

Arguments

which
a character string being "general" or "spca", indicating which tutorial should be opened.
base
a character string forming the base of the labels
n
the number of labels to generate

Value

  • For .genlab, a character vector of size "n".

encoding

UTF-8

Examples

Run this code
## this opens the adegenet website
adegenetWeb()

## this opens the general tutorial for adegenet
adegenetTutorial()

## this opens the sPCA tutorial for adegenet
adegenetTutorial("spca")

.genlab("Locus-",11)

Run the code above in your browser using DataLab